﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Shapes;

namespace CircleDrawer.Shapes
{
    public class HexagonSD : ShapeSD
    {
        public HexagonSD()
        {
            this.visibleShape = new Polygon();
            this.wrapper = new Polygon();

            base.InitializeEvents();
        }

        public void AddPoint(Point point)
        {
            Polygon hexagon = this.visibleShape as Polygon;
            Polygon hexWrapper = this.wrapper as Polygon;
            hexagon.Points.Add(point);
            hexWrapper.Points.Add(point);
        }
    }
}
